import {_decorator, Component, Node} from 'cc';

const {ccclass} = _decorator;

@ccclass('GameManager')
export class GameManager extends Component {

    public static playerNode: Node
    public static gameCameraNode: Node
    public static isMoving: boolean = false

    public static setIsMoving(v: boolean) {
        this.isMoving = v
    }

    public static setPlayerNode(node: Node) {
        this.playerNode = node
    }

    public static setGameCameraNode(node: Node) {
        this.gameCameraNode = node
    }

}
